from django.shortcuts import render
from django.http import HttpResponse


def register(request):
    return HttpResponse('注册接口')

# 创建视图函数
def index(request):
    # request 接收请求对象

    # 返回 响应对象 response
    return HttpResponse("hello world  Django!")
